package com.chenglai.seckill.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author rxh
 */
@ApiModel(value = "t_cl_goods_group_on")
@Table(name = "t_cl_goods_group_on")
public class GoodsGroupOn implements Serializable {

    @Id
    @Column(name = "group_id", updatable = false)
    @ApiModelProperty(value = "null")
    private Integer groupId;

    /**
     * 商品ID
     */
    @Column(name = "goods_id")
    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;

    /**
     * 团购价
     */
    @Column(name = "goods_group_price")
    @ApiModelProperty(value = "团购价")
    private Double goodsGroupPrice;

    /**
     * 团构人数（几人开团）
     */
    @Column(name = "goods_group_number")
    @ApiModelProperty(value = "团构人数（几人开团）")
    private Integer goodsGroupNumber;

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }


    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }


    public Double getGoodsGroupPrice() {
        return goodsGroupPrice;
    }

    public void setGoodsGroupPrice(Double goodsGroupPrice) {
        this.goodsGroupPrice = goodsGroupPrice;
    }


    public Integer getGoodsGroupNumber() {
        return goodsGroupNumber;
    }

    public void setGoodsGroupNumber(Integer goodsGroupNumber) {
        this.goodsGroupNumber = goodsGroupNumber;
    }

}
